#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

class Rectangle
{
public:
	double len;
	double wid;
	double hei;

	Rectangle(double l = 1, double w = 1, double h = 1)
	{
		len = l;
		wid = w;
		hei = h;
	}

	double volume()
	{
		return len * wid * hei;
	}
};

int main()
{
	Rectangle r1(1);
	Rectangle r2(1);
	Rectangle r3(1);

	cin >> r1.len >> r1.wid >> r1.hei;
	cin >> r2.len >> r2.wid >> r2.hei;
	cin >> r3.len >> r3.wid >> r3.hei;

	cout << "Volume of box1 is:" << r1.volume() << endl;
	cout << "Volume of box2 is:" << r2.volume() << endl;
	cout << "Volume of box3 is:" << r3.volume() << endl;

	return 0;
}

